Behdad Esfahbod [Sun, 24 Dec 2006 05:32:38 +0000 (05:32 +0000)]
Use gslice for GtkBorder (#383557).
2006-12-24 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
GtkBorder (#383557).
Behdad Esfahbod [Sun, 24 Dec 2006 05:29:25 +0000 (05:29 +0000)]
Bug 340141 – Update to Pango 1.16 API
2006-12-24 Behdad Esfahbod <behdad@gnome.org>
Bug 340141 – Update to Pango 1.16 API
* gdk/gdkpango.c (layout_iter_get_line_clip_region),
(gdk_pango_layout_line_get_clip_region):
* gtk/gtkcalendar.c (gtk_calendar_size_request):
* gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
(get_layout_position), (gtk_entry_find_position),
(gtk_entry_adjust_scroll):
* gtk/gtkiconview.c (get_pango_text_offsets):
* gtk/gtklabel.c (get_cursor_direction):
* gtk/gtkstyle.c (get_insensitive_layout):
* gtk/gtktextdisplay.c (render_para):
* gtk/gtktextlayout.c (allocate_child_widgets),
(find_display_line_below), (find_display_line_above),
(gtk_text_layout_move_iter_to_previous_line),
(gtk_text_layout_move_iter_to_next_line),
(gtk_text_layout_move_iter_to_line_end),
(gtk_text_layout_iter_starts_line),
(gtk_text_layout_move_iter_to_x):
* gtk/gtktextutil.c (limit_layout_lines):
Use the _readonly version of pango_layout_iter_get_line(),
pango_layout_iter_get_run(), pango_layout_get_line(), and
pango_layout_get_lines().
* gtk/gtkmain.c (gtk_get_default_language): Use
pango_get_default_language().
Matthias Clasen [Sun, 24 Dec 2006 05:18:25 +0000 (05:18 +0000)]
Emit changed and notify:text only once. The same fix was applied for
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_set_text): Emit changed
and notify:text only once. The same fix was applied
for replacing the selection via DND or copy-and-paste.
(#64998, Damon Chaplin, Sven Herzberg)
Erdal Ronahi [Sat, 23 Dec 2006 21:41:42 +0000 (21:41 +0000)]
Updated Kurdish translation
Matthias Clasen [Sat, 23 Dec 2006 21:25:16 +0000 (21:25 +0000)]
Be careful to not override GTK+ translations with the translations of the
2006-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimmulticontext.c: Be careful to not override
GTK+ translations with the translations of the input
method. (#317080, Tor Lillqvist)
* modules/input/imcedilla.c: Use standard macros
for translation domain and locale dir.
Matthias Clasen [Sat, 23 Dec 2006 21:08:45 +0000 (21:08 +0000)]
Allow composing l with stroke. (#349638, Daniel Lublin)
2006-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontextsimple.c: Allow composing l with
stroke. (#349638, Daniel Lublin)
Matthias Clasen [Sat, 23 Dec 2006 21:00:53 +0000 (21:00 +0000)]
Fix a thinko in the suffix calculation. (#382369, Christian Persch)
2006-12-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gen-paper-names.c: Fix a thinko in the suffix
calculation. (#382369, Christian Persch)
* gtk/paper_names_offsets.c: Regenerated.
Matthias Clasen [Sat, 23 Dec 2006 03:35:21 +0000 (03:35 +0000)]
Move G_GNUC_INTERNAL before function declarations. (#352276, Damien
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* modules/engines/pixbuf/pixbuf.h:
* modules/engines/pixbuf/pixbuf-rc-style.h:
* modules/engines/pixbuf/pixbuf-style.h: Move
G_GNUC_INTERNAL before function declarations. (#352276,
Damien Carbery)
Matthias Clasen [Sat, 23 Dec 2006 02:45:31 +0000 (02:45 +0000)]
remove extra unref
Matthias Clasen [Sat, 23 Dec 2006 02:39:45 +0000 (02:39 +0000)]
Fix some leaks. (#348108, Chris Wilson)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
Wilson)
2
Matthias Clasen [Fri, 22 Dec 2006 19:10:43 +0000 (19:10 +0000)]
Replace a lot of idle and timeout calls by the new gdk_threads api.
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* *.c: Replace a lot of idle and timeout calls by
the new gdk_threads api.
Matthias Clasen [Fri, 22 Dec 2006 17:46:32 +0000 (17:46 +0000)]
Add functions to allow threadsafe handling of idles and timeouts wrt. to
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols:
* gdk/gdk.h:
* gdk/gdk.c: Add functions to allow threadsafe handling
of idles and timeouts wrt. to the GDK lock. (#321886,
Chris Wilson)
Matthias Clasen [Fri, 22 Dec 2006 17:06:30 +0000 (17:06 +0000)]
Use pango_cairo_show_error_underline. (#340141, Behdad Esfahbod)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkpango.c: Use pango_cairo_show_error_underline.
(#340141, Behdad Esfahbod)
Matthias Clasen [Fri, 22 Dec 2006 16:13:49 +0000 (16:13 +0000)]
Check for getc_unlocked.
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for getc_unlocked.
* gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
unavailable. (#381499)
Matthias Clasen [Fri, 22 Dec 2006 15:39:09 +0000 (15:39 +0000)]
typo fix
Matthias Clasen [Fri, 22 Dec 2006 07:18:21 +0000 (07:18 +0000)]
Make it possible to track the embeddedness of statusicon (#387215, Martyn
2006-12-22 Matthias Clasen <mclasen@redhat.com>
Make it possible to track the embeddedness of
statusicon (#387215, Martyn Russell, patch by Christian
Persch)
* gtk/gtkstatusicon.c: Add orientation and embedded properties.
* gtk/gtkplug.c:
* gtk/gtkplug-x11.c: Add an embedded property.
* tests/teststatusicon.c: Test the new properties.
Matthias Clasen [Fri, 22 Dec 2006 06:29:51 +0000 (06:29 +0000)]
Don't leak draw_border. (#387170, Kjartan Maraas)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
leak draw_border. (#387170, Kjartan Maraas)
Matthias Clasen [Fri, 22 Dec 2006 06:19:38 +0000 (06:19 +0000)]
Handle bmps with more than 8 bits per channel. (#172584, David Costanzo)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c (decode_bitmasks): Handle bmps
with more than 8 bits per channel. (#172584,
David Costanzo)
Matthias Clasen [Fri, 22 Dec 2006 06:01:28 +0000 (06:01 +0000)]
Handle offsets more carefully. (#172188, David Costanzo)
2006-12-22 Matthias Clasen <mclasen@redhat.com>
* io-bmp.c: Handle offsets more carefully. (#172188,
David Costanzo)
* io-bmp.c: Handle v5 and OS/2 v2 bmps.
* io-bmp.c: Handle alpha masks in v4 and v5 bmps.
Matthias Clasen [Fri, 22 Dec 2006 03:14:31 +0000 (03:14 +0000)]
Emit the closed signal when closing the loader, pointed out by David
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Emit
the closed signal when closing the loader, pointed out
by David Necas.
Matthias Clasen [Thu, 21 Dec 2006 23:27:01 +0000 (23:27 +0000)]
Handle invalid gif animations a little bit more robustly. (#357974,
* io-gif.c (gif_get_lzw): Handle invalid gif animations
a little bit more robustly. (#357974, Vassilis Pandis,
patch by Felix Riemann)
Matthias Clasen [Thu, 21 Dec 2006 20:40:24 +0000 (20:40 +0000)]
Remove redundant size checks, and document that width, height must be > 0.
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-data.c (gdk_pixbuf_new_from_data):
* gdk-pixbuf.c (gdk_pixbuf_new): Remove redundant size
checks, and document that width, height must be > 0.
(#343330, Felix Riemann)
Matthias Clasen [Thu, 21 Dec 2006 17:00:59 +0000 (17:00 +0000)]
Link against GLib. (#341158, Alexey Rusakov)
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* Makefile.am: Link against GLib. (#341158, Alexey Rusakov)
Matthias Clasen [Thu, 21 Dec 2006 16:41:11 +0000 (16:41 +0000)]
Typo fix. (#388123, Murray Cumming)
* gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
Typo fix. (#388123, Murray Cumming)
Matthias Clasen [Thu, 21 Dec 2006 16:33:29 +0000 (16:33 +0000)]
Generate double-click events. (#380421, Tommi Komulainen)
* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
Generate double-click events. (#380421, Tommi Komulainen)
Matthias Clasen [Thu, 21 Dec 2006 16:28:28 +0000 (16:28 +0000)]
Correct return_if_fail checks. (#379803, Tommi Komulainen)
* gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
(_gdk_input_enter_event): Correct return_if_fail checks.
(#379803, Tommi Komulainen)
Matthias Clasen [Thu, 21 Dec 2006 16:25:01 +0000 (16:25 +0000)]
Improve docs. (#353438, Mariano Suárez-Alvarez)
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* gdk/gdkdisplay.c (gdk_display_beep): Improve docs.
(#353438, Mariano Suárez-Alvarez)
Matthew Barnes [Thu, 21 Dec 2006 12:34:41 +0000 (12:34 +0000)]
Add a function for converting a GdkColor to a string (#373856).
2006-12-21 Matthew Barnes <mbarnes@redhat.com>
* docs/reference/gdk/gdk-sections.txt:
* gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
converting a GdkColor to a string (#373856).
* configure.in: Bump pango requirement to 1.15.2.
Matthias Clasen [Thu, 21 Dec 2006 05:11:00 +0000 (05:11 +0000)]
Mark arrow keys as translatable
Matthias Clasen [Wed, 20 Dec 2006 21:18:27 +0000 (21:18 +0000)]
Add signal documentation. (#317064, Søren Wedel Nielsen)
2006-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbuffer.c: Add signal documentation. (#317064,
Søren Wedel Nielsen)
Matthias Clasen [Wed, 20 Dec 2006 20:57:49 +0000 (20:57 +0000)]
Silently return if a drag is already in progress, rather than asserting.
2006-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
Silently return if a drag is already in progress, rather
than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
Matthias Clasen [Wed, 20 Dec 2006 19:02:21 +0000 (19:02 +0000)]
Allow any GtkDialog that implements GtkFileChooser as dialog. (#335473,
2006-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
Allow any GtkDialog that implements GtkFileChooser as
dialog. (#335473, Tommi Komulainen)
Mikael Hallendal [Wed, 20 Dec 2006 14:02:43 +0000 (14:02 +0000)]
Fixed a last minute change in the quartz backend.
2006-12-20 Mikael Hallendal <micke@imendio.com>
* gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
change in the quartz backend.
Mikael Hallendal [Wed, 20 Dec 2006 13:24:05 +0000 (13:24 +0000)]
Added gtkstatusicon-quartz.c Implements the quartz backend for the status
2006-12-20 Mikael Hallendal <micke@imendio.com>
* gtk/Makefile.am: Added gtkstatusicon-quartz.c
* gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
status icon.
* gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
Matthias Clasen [Wed, 20 Dec 2006 04:39:52 +0000 (04:39 +0000)]
Add a tooltip explaining the format of page ranges, and improve the page
2006-12-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c: Add a tooltip explaining the
format of page ranges, and improve the page sequence icon
for the case of n_copies == 1.
Matthias Clasen [Tue, 19 Dec 2006 20:45:04 +0000 (20:45 +0000)]
Don't spew a warning if the printer is already closed.
2006-12-19 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Don't
spew a warning if the printer is already closed.
Mikael Hallendal [Tue, 19 Dec 2006 15:53:44 +0000 (15:53 +0000)]
Splitted out the GdkPixbuf to NSImage routine so that it can be used from
2006-12-19 Mikael Hallendal <micke@imendio.com>
* gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
routine so that it can be used from libgtk as well (needed for
upcoming GtkStatusIcon support in the Quartz port).
* gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
created from GDK, this is not true for the status icon.
* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkquartz.h: Added
gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
the status icon code.
Gabor Kelemen [Sun, 17 Dec 2006 13:29:58 +0000 (13:29 +0000)]
Translation updated.
2006-12-17 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
Tristan Van Berkom [Sat, 16 Dec 2006 20:34:48 +0000 (20:34 +0000)]
Fixed a bug in set_property() (setting "window-placement-set" could result
* gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
(setting "window-placement-set" could result in a crash because
of boolean/enum mixup)
Federico Mena Quintero [Fri, 15 Dec 2006 20:13:01 +0000 (20:13 +0000)]
Merged from gtk-2-10:
2006-12-15 Federico Mena Quintero <federico@novell.com>
Merged from gtk-2-10:
* gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
the case where the new title is the same as the old title, to
preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
equivalent). Handle the case where title == priv->title. This
was found by the LSB compatibility tests:
https://bugzilla.novell.com/show_bug.cgi?id=223882
2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
Dom Lachowicz [Fri, 15 Dec 2006 19:08:15 +0000 (19:08 +0000)]
Make GtkComboBox in "appears-as-list" mode more closely resemble its Win32
2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
* gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
more closely resemble its Win32 counterpart. Bug #340204.
Gabor Kelemen [Fri, 15 Dec 2006 16:06:43 +0000 (16:06 +0000)]
Translation updated.
2006-12-15 Gabor Kelemen <kelemeng@gnome.hu>
* hu.po: Translation updated.
Benjamin Berg [Thu, 14 Dec 2006 18:33:43 +0000 (18:33 +0000)]
Undo bogus commit.
Tim Janik [Thu, 14 Dec 2006 14:48:41 +0000 (14:48 +0000)]
added new docs.
Thu Dec 14 15:48:14 2006 Tim Janik <timj@imendio.com>
* gtk/gtk-sections.txt: added new docs.
Kjartan Maraas [Thu, 14 Dec 2006 14:16:55 +0000 (14:16 +0000)]
file si.po was initially added on branch gtk-2-10.
Kjartan Maraas [Thu, 14 Dec 2006 14:15:15 +0000 (14:15 +0000)]
file as.po was initially added on branch gtk-2-10.
Ankitkumar Rameshchandra Patel [Thu, 14 Dec 2006 13:43:44 +0000 (13:43 +0000)]
file si.po was initially added on branch gtk-2-10.
Carlos Garnacho [Thu, 14 Dec 2006 13:15:13 +0000 (13:15 +0000)]
draw arrows pointing to the right correctly placed inside their GdkWindow.
2006-12-14 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkcalendar.c: draw arrows pointing to the right correctly
placed inside their GdkWindow. Bug #385672.
Christian Persch [Thu, 14 Dec 2006 12:28:31 +0000 (12:28 +0000)]
Fix docs typo. Bug #385642.
2006-12-14 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkiconview.c: Fix docs typo. Bug #385642.
Dom Lachowicz [Thu, 14 Dec 2006 02:09:27 +0000 (02:09 +0000)]
Bug 351679 - Notebooks drawn with extra line below tab in MS-Windows
2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
* src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
drawn with extra line below tab in MS-Windows theme. Patch by
Cody Russell
Amitakhya Phukan [Thu, 14 Dec 2006 00:11:37 +0000 (00:11 +0000)]
updated gtk+ assamese translation
Matthias Clasen [Wed, 13 Dec 2006 18:44:45 +0000 (18:44 +0000)]
Add --unlink-tempfile to the evince call for print preview. (#370041, Ghee
2006-12-13 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: Add --unlink-tempfile to the evince call
for print preview. (#370041, Ghee Teo)
Benjamin Berg [Wed, 13 Dec 2006 17:32:49 +0000 (17:32 +0000)]
- Remove unused code/options from the code. Warn about their usage while
2006-12-13 Benjamin Berg <benjamin@sipsolutions.net>
* engines/clearlooks/src/clearlooks_rc_style.c:
(clearlooks_rc_style_init), (clearlooks_gtk2_rc_parse_dummy),
(clearlooks_rc_style_parse), (clearlooks_rc_style_merge):
* engines/clearlooks/src/clearlooks_rc_style.h:
* engines/clearlooks/src/clearlooks_style.c:
(clearlooks_style_draw_box), (clearlooks_style_init_from_rc),
(clearlooks_style_copy):
* engines/clearlooks/src/clearlooks_style.h:
* engines/clearlooks/src/clearlooks_types.h:
- Remove unused code/options from the code. Warn about their usage
while parsing.
* themes/Clearlooks/gtk-2.0/gtkrc:
- Remove options that don't have any effect.
Subhransu Behera [Wed, 13 Dec 2006 09:56:11 +0000 (09:56 +0000)]
Updated Oriya Translation
Subhransu Behera [Wed, 13 Dec 2006 07:38:52 +0000 (07:38 +0000)]
Updated Oriya Translation
Francisco Javier F. Serrador [Tue, 12 Dec 2006 16:21:17 +0000 (16:21 +0000)]
Updated Spanish translation.
2006-12-12 Francisco Javier F. Serrador <serrador@openshine.com>
* es.po: Updated Spanish translation.
Matthias Clasen [Mon, 11 Dec 2006 15:35:25 +0000 (15:35 +0000)]
Be more careful when overdrawing antialiased text. (#352435, Alex Jones,
2006-12-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
careful when overdrawing antialiased text. (#352435, Alex Jones,
patch by Benjamin Otte)
Matthias Clasen [Mon, 11 Dec 2006 06:16:21 +0000 (06:16 +0000)]
Change the way in which color scheme information is merged to correctly
2006-12-11 Matthias Clasen <mclasen@redhat.com>
* gtksettings.c: Change the way in which color scheme information
is merged to correctly handle vanishing colors. (#374420,
Benjamin Berg, patch by Callum McKenzie)
Also allow to separate entries in color schemes by ';'
instead of newline.
Matthias Clasen [Mon, 11 Dec 2006 04:08:42 +0000 (04:08 +0000)]
Properly pass multi-value options to cups. (#355350, Jürg Billeter)
2006-12-10 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
Properly pass multi-value options to cups. (#355350, Jürg Billeter)
Kristian Rietveld [Sun, 10 Dec 2006 20:52:05 +0000 (20:52 +0000)]
cancel editing (ie. don't accept changes) when the entry loses focus.
2006-12-10 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
cancel editing (ie. don't accept changes) when the entry loses
focus. (Fixes #164494, reported by Chris Rouch).
Matthias Clasen [Sun, 10 Dec 2006 19:34:19 +0000 (19:34 +0000)]
Fix my last commit
Tor Lillqvist [Sun, 10 Dec 2006 09:08:50 +0000 (09:08 +0000)]
Put gdk-pixbuf-query-loaders.exe and gtk-query-immodules-2.0.exe in the
2006-12-10 Tor Lillqvist <tml@novell.com>
* gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
gtk-query-immodules-2.0.exe in the runtime zipfile instead of
developer zipfile. Users might add pixbuf loaders or immodules
even if they are not interested in developing gtk+-using software.
Matthias Clasen [Sun, 10 Dec 2006 06:31:53 +0000 (06:31 +0000)]
Check for crt_extern.h and _NSGetEnviron. Fix compilation on Darwin where
2006-12-10 Matthias Clasen <mclasen@redhat.com>
* configure.in: Check for crt_extern.h and _NSGetEnviron.
* gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
environ is not available. (#384168, Min Sik Kim)
Matthias Clasen [Sun, 10 Dec 2006 04:25:46 +0000 (04:25 +0000)]
Behave as documented and close the loader when returning FALSE.
2006-12-09 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Behave as
documented and close the loader when returning FALSE.
Paolo Maggi [Thu, 7 Dec 2006 17:01:16 +0000 (17:01 +0000)]
Fixes bug #383407
2006-12-07 Paolo Maggi <paolo@gnome.org>
Fixes bug #383407
* gtk/gtkentry.c (gtk_entry_set_text): check for
completion->priv->changed_id > 0 before calling
g_signal_handler_[un]block.
(gtk_entry_completion_key_press): does not block/unblock the
"changed"
signal before calling gtk_entry_set_text.
Adam Weinberger [Thu, 7 Dec 2006 16:34:41 +0000 (16:34 +0000)]
Remove nonexistent files, add missing ones. Updated Canadian English
2006-12-07 Adam Weinberger <adamw@gnome.org>
* POTFILES.in: Remove nonexistent files, add missing ones.
* en_CA.po: Updated Canadian English translation.
Adam Weinberger [Thu, 7 Dec 2006 16:25:41 +0000 (16:25 +0000)]
Updated Canadian English translation.
2006-12-07 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.
Carlos Garnacho [Thu, 7 Dec 2006 15:56:03 +0000 (15:56 +0000)]
do not use xthickness/ythickness, they aren't used any longer for drawing.
2006-12-07 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkcellrendererprogress (compute_dimensions): do not use
xthickness/ythickness, they aren't used any longer for drawing.
Matthias Clasen [Thu, 7 Dec 2006 14:45:04 +0000 (14:45 +0000)]
Fix accelerator clipping
Kristian Rietveld [Wed, 6 Dec 2006 21:40:02 +0000 (21:40 +0000)]
broooooooken pipe
Kristian Rietveld [Wed, 6 Dec 2006 21:39:50 +0000 (21:39 +0000)]
draw progress bar through theme engine instead of using our own custom
2006-12-06 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
draw progress bar through theme engine instead of using our own
custom cairo drawing code (#377244, patch from Carlos Garnacho).
Matthias Clasen [Wed, 6 Dec 2006 15:17:40 +0000 (15:17 +0000)]
Improve print dialog
Theppitak Karoonboonyanan [Wed, 6 Dec 2006 15:08:14 +0000 (15:08 +0000)]
Replace modules/input/imthai-broken.c with imthai.c. Updated Thai
2006-12-06 Theppitak Karoonboonyanan <thep@linux.thai.net>
* POTFILES.in: Replace modules/input/imthai-broken.c with imthai.c.
* th.po: Updated Thai translation.
Matthias Clasen [Mon, 4 Dec 2006 17:56:30 +0000 (17:56 +0000)]
Fix an a11y regression
Christian Persch [Mon, 4 Dec 2006 17:54:48 +0000 (17:54 +0000)]
Don't leak the old page size when
2006-12-04 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
(gtk_page_setup_set_paper_size): Don't leak the old page size when
Michael Natterer [Sun, 3 Dec 2006 21:16:42 +0000 (21:16 +0000)]
remove FIXME #include that is no longer needed.
2006-12-03 Michael Natterer <mitch@gimp.org>
* gtk/gtktextview.c: remove FIXME #include that is no longer needed.
Kristian Rietveld [Sun, 3 Dec 2006 20:23:06 +0000 (20:23 +0000)]
fix spelling
Kristian Rietveld [Sun, 3 Dec 2006 20:02:04 +0000 (20:02 +0000)]
Make sure [xy]_offset are always being initialized, fix pixbuf renderer
2006-12-03 Kristian Rietveld <kris@gtk.org>
Make sure [xy]_offset are always being initialized, fix pixbuf
renderer padding. (#108235, Sven Neuman).
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
(gtk_cell_renderer_pixbuf_render): add padding in _render instead
of _get_size.
* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
always initialize [xy]_offset.
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
ditto.
Kristian Rietveld [Sun, 3 Dec 2006 15:14:51 +0000 (15:14 +0000)]
when not using an explicit alignment, use the full area of the row (not
2006-12-03 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (validate_visible_area): when not using an
explicit alignment, use the full area of the row (not just dy)
to determine how to implicitly align it. (Fixes #363191, reported
by Federico Mena Quintero).
Matthias Clasen [Sat, 2 Dec 2006 19:48:22 +0000 (19:48 +0000)]
Fix a crash with icon themes
Dom Lachowicz [Sat, 2 Dec 2006 16:34:12 +0000 (16:34 +0000)]
Bug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch
2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
* src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
not with PositionType.Top drawn incorrectly. Patch by Cody Russell
Behdad Esfahbod [Wed, 29 Nov 2006 01:14:04 +0000 (01:14 +0000)]
Remove the broken Thai input method and add a functional Thai and Lao
2006-11-28 Behdad Esfahbod <behdad@gnome.org>
Remove the broken Thai input method and add a functional Thai and Lao
input method by Theppitak Karoonboonyanan. (#81031)
* modules/input/imthai.c:
* modules/input/gtkimcontextthai.c:
* modules/input/gtkimcontextthai.h:
* modules/input/thai-charprop.c:
* modules/input/thai-charprop.h:
Added.
* modules/input/imthai-broken.c:
Removed.
* modules/input/Makefile.am:
Updated.
Christian Persch [Mon, 27 Nov 2006 21:17:19 +0000 (21:17 +0000)]
Notify when the screen changes. Bug #379793.
2006-11-27 Christian Persch <chpe@cvs.gnome.org>
* gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
Tim Janik [Mon, 27 Nov 2006 11:51:54 +0000 (11:51 +0000)]
applied patch by Colin Leroy for Control+GDK_KP_Left to move one word to
Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
* gtk/gtktextview.c: applied patch by Colin Leroy for
Control+GDK_KP_Left to move one word to the left, #356255.
Benjamin Berg [Sun, 26 Nov 2006 19:43:12 +0000 (19:43 +0000)]
Protect against NULL widget. (#379503)
2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
* gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
widget. (#379503)
Matthias Clasen [Sat, 25 Nov 2006 05:12:48 +0000 (05:12 +0000)]
Make print dialog work when 'BrowseShortNames Off' is specified in cups
2006-11-25 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Make
print dialog work when 'BrowseShortNames Off' is specified
in cups configuration. Patch by Tim Waugh.
Michael Natterer [Fri, 24 Nov 2006 13:18:55 +0000 (13:18 +0000)]
if we can't go up/down, consult gtk_widget_keynav_failed() and leave the
2006-11-24 Michael Natterer <mitch@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
can't go up/down, consult gtk_widget_keynav_failed() and leave the
widget if it returns FALSE (bug #322640).
Behdad Esfahbod [Thu, 23 Nov 2006 22:10:03 +0000 (22:10 +0000)]
Fix minor typo in docs. (#378632, Hannes Mueller)
2006-11-23 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
Emmanuele Bassi [Wed, 22 Nov 2006 09:13:42 +0000 (09:13 +0000)]
fix the date of the last commit
Emmanuele Bassi [Wed, 22 Nov 2006 09:12:49 +0000 (09:12 +0000)]
g_filename_from_uri() might fail; catch the failure and fall back to the
2006-11-21 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c:
(get_uri_shortname_for_display): g_filename_from_uri() might
fail; catch the failure and fall back to the non-local URI
case. (#363437)
Mark McLoughlin [Sun, 19 Nov 2006 16:23:01 +0000 (16:23 +0000)]
add gtk_status_icon_(get|set)_screen
2006-11-19 Mark McLoughlin <mark@skynet.ie>
* gtk/gtk-sections.txt: add gtk_status_icon_(get|set)_screen
Mark McLoughlin [Sun, 19 Nov 2006 16:22:23 +0000 (16:22 +0000)]
Fixes bug #376502 - multi-screen support for GtkStatusIcon
2006-11-19 Mark McLoughlin <mark@skynet.ie>
Fixes bug #376502 - multi-screen support for GtkStatusIcon
* gtk/gtkstatusicon.[ch]:
(gtk_status_icon_set_screen),
(gtk_status_icon_get_screen): add multi-screen API. Allows
an app to display an icon on a non-default screen
(gtk_status_icon_class_init),
(gtk_status_icon_set_property),
(gtk_status_icon_get_property): add a "screen" property
* tests/teststatusicon.c: update to test on multiple screens
Matthias Clasen [Sat, 18 Nov 2006 04:37:33 +0000 (04:37 +0000)]
Fix problems with drag cancellation. (#376535, Michael Natterer)
2006-11-17 Matthias Clasen <mclasen@redhat.com>
Fix problems with drag cancellation. (#376535, Michael Natterer)
* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
handlers before emitting drag-end.
(gtk_drag_end): Disconnect signal handlers before removing
the grab.
Mariano Suárez-Alvarez [Thu, 16 Nov 2006 21:35:52 +0000 (21:35 +0000)]
add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
add gtk-doc blurb on GtkCellRendererText::edited (#376094)
Michael Natterer [Thu, 16 Nov 2006 14:32:47 +0000 (14:32 +0000)]
don't use gtk_widget_keynav_failed(). Instead, look at
2006-11-16 Michael Natterer <mitch@imendio.com>
* gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
and gtk-keynav-wrap-around and wrap around, beep or continue outside
the group manually (bug #322640).
Michael Natterer [Thu, 16 Nov 2006 12:56:30 +0000 (12:56 +0000)]
Add new infrastructure for notifications of failed keyboard navigation and
2006-11-16 Michael Natterer <mitch@imendio.com>
Add new infrastructure for notifications of failed keyboard
navigation and navigation with restricted set of keys.
The patch handles configurable beeping, navigating the GUI with
cursor keys only (as in phone environments), and configurable
wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
and #309291.
* gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
gtk-keynav-wrap-around and gtk-error-bell.
* gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
API to emit it. Added New function gtk_widget_error_bell() which
looks at the gtk-error-bell setting and calls gdk_window_beep()
accordingly.
* gtk/gtk.symbols: add the new widget symbols.
* gtk/gtkcellrendereraccel.c
* gtk/gtkimcontextsimple.c
* gtk/gtkmenu.c
* gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
gtk-error-bell setting instead of calling gdk_display_beep()
unconditionally.
* gtk/gtkcombobox.c
* gtk/gtkentry.c
* gtk/gtkiconview.c
* gtk/gtklabel.c
* gtk/gtkmenushell.c
* gtk/gtkspinbutton.c
* gtk/gtktextview.c
* gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
* gtk/gtkentry.c
* gtk/gtklabel.c
* gtk/gtkrange.c
* gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
cursor navigation and leave the widget if it returns FALSE.
* gtk/gtkmenushell.c
* gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
is TRUE.
* gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
whether to to wrap-around, and don't select active items on cursor
navigation if gtk-keynav-cursor-only is TRUE. Should look at
gtk-keynav-wrap-around too, will look into that.
Emmanuele Bassi [Thu, 16 Nov 2006 11:12:12 +0000 (11:12 +0000)]
Return the URI of the GtkRecentInfo object (upgraded to UTF-8 if needed)
2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c:
(gtk_recent_info_get_uri_display): Return the URI
of the GtkRecentInfo object (upgraded to UTF-8 if
needed) in case of non-local file. (#351945)
Emmanuele Bassi [Thu, 16 Nov 2006 10:10:44 +0000 (10:10 +0000)]
Apply the tip only if we have a displayable name for the item. (#365031,
2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c:
(gtk_recent_chooser_menu_add_tip): Apply the tip only
if we have a displayable name for the item. (#365031,
patch by padraig.obriain(at)sun.com)
Emmanuele Bassi [Thu, 16 Nov 2006 09:57:45 +0000 (09:57 +0000)]
Provide a fast path returning NULL when the limit is set to 0.
2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c: Provide a fast path returning
NULL when the limit is set to 0.
* gtk/gtkrecentchooserdefault.c:
* gtk/gtkrecentchoosermenu.c: Add the same fast path
inside the RecentChooser implementation; add a check
in the list clamping code. (#373466 and duplicates)
Matthias Clasen [Wed, 15 Nov 2006 18:54:43 +0000 (18:54 +0000)]
Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
2006-11-15 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)